How to Configure MailShieldYou can change MailShield settings by using the MailShield Web Interface or by editing the configuration text files directly (you will find them in the 'config' directory where you installed MailShield). You will configure MailShield by changing various settings, as appropriate for your site.
The first step in configuring MailShield is to decide how MailShield and your mail server will coexist. Any SMTP mail server can work with MailShield if you use two machines. With this setup, you install MailShield on a machine without a mail server, then tell MailShield the TCP/IP address of your mail server, and finally change your DNS records so that MailShield is now the mail server for your domain. For instructions on this technique, see Generic Setup with 2 Machines. If you want MailShield to run on the same machine as your mail server, please refer to the directions appropriate to your mail server: Sendmail, Post.Office, Qmail, MetaInfo sendmail, Netscape Mail Server, NTmail, Microsoft Exchange, AltaVista Mail, MailSite, Exim, MDaemon, SLMail, Imail, Microsoft IMS / IIS Mail, Lotus Notes, LSMTP.
Now that MailShield is set to coexist with your mail server, you need to give MailShield some information about your site. This will allow it to accept your organization's mail, and reject unauthorized relay attempts. Local Domain Names: First, specify the domain names that your organization accepts mail for. If you installed MailShield on Windows, this was the first question asked by the setup program. The file localdom.txt holds this setting. See Local domain names. Domain Name Server: Next, you need to tell MailShield the TCP/IP address of your DNS server. If you installed MailShield on Windows, this was the 2nd question asked by the setup program. The file dns.txt holds this setting. See DNS servers. TCP/IP Addresses allowed to Relay: next, you need to tell MailShield the TCP/IP addresses used by your organization. This tells MailShield who is allowed to use the MailShield mail server as a relay host. If you installed MailShield on Windows, this was the 3rd question asked by the setup program. The file okrelayt.txt holds this setting. See TCP/IP addresses allow to relay. Location of your Mail Server: Next, you need to tell MailShield the TCP/IP addresses and port number of your Mail Server. This tells MailShield where to send mail to. If you installed MailShield on Windows, this was the 4th (and final) question asked by the setup program. If you followed the instructions above, in "1) MailShield and your mail server", then you have already set this option. You can change this setting by editing smtpserv.txt. See SMTP server. How to treat unwanted email: if you installed on Windows, you were asked if unwanted email should be rejected, should have its subject marked, or if it should be forwarded to another email address. You can change these settings by hand for whatever platform you installed MailShield on; see Mark subject instead of refusing or Forward rejected mail. Server Activation Code: if you purchased MailShield, you received a serial number from us. Now, point your browser at http://www.lyris.com/store/mailshield/register_ms.html to register your serial number, and to receive a server activation code. Once you receive the code, you can enter it in activate.txt. If you did not purchase MailShield, you can still use it, and it will be full-featured, except that every message that goes through MailShield will have an evaluation footer appended to it. See MailShield server activation code. Admin Web GUI Port: For Windows users, the installer preconfigures your web server port. For UNIX users, you must do this yourself. In any event, to configure the port used by the web interface, you must edit webport.txt. The default port is 81. See Admin Interface Port Number. Admin Web GUI TCP/IP Address: The MailShield Admin Interface by default only listens to the localhost address (127.0.0.1). If you want to configure the admin interface to listen to another IP address instead, you must edit the webtcpip.txt file. You will need to edit this file if you plan to remotely administer MailShield using the Admin Interface. See Admin Interface TCP/IP Address. Admin Web GUI Password: The Admin Interface will use the password you specify. If you are on Windows, the installer prompted you for a password. Use "admin" as the user, and the password you specified. On UNIX, you must manually edit the password by modifying password.txt. The format of the password entry is login:password, where login is the name you want to login as, and password is the password for that user. That way, you can specify multiple entries. If the password.txt file is empty, the interface will accept any login with no password. Start MailShield: on Windows, you can click on the "Run MailShield Now" icon. On Windows, you also have the option of running MailShield as a background service. On Unix, you run MailShield with the "start" (foreground) or "-bd" (background) command line options . For more information, see Starting MailShield.
Other MailShield options: MailShield is very powerful, and has many features and options. For a complete description of every MailShield setting, see Feature Reference. For serious techies: If you are very technically oriented, you may also be interested in editing the rule scripts that MailShield uses, so that you can completely change how MailShield handles incoming email. Everything MailShield does is controlled by these scripts, which use a fully documented scripting language specialized for email processing. If you interested in these capabilities, see MailShield Rule Scripts.
|